for X in range(0,31):
    if 2 * X + (30 - X) * 4 == 90:
        print("鸡:",X,"兔:",30 - X)